home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-12-10 | 1.9 KB | 77 lines | [TEXT/MPS ] |
- # File: Makefile
- # Target: count
- # Sources: Count.c
- # Modified: Wednesday, October 2, 1996 03:07:56 PM
-
- MAKEFILE = Makefile
- C = SC
- PPCC = MrC
-
- •MondoBuild• = {MAKEFILE} # Make blank to avoid rebuilds when makefile is modified
-
- Includes =
- ObjDir•68K =
- ObjDir•PPC =
-
- Sym•68K = -sym on
- Sym•PPC = -sym on
-
- COptions = {Includes} {Sym•68K} -model far # -i "{RINCLUDES}" (if needed to access SIOW.h)
- PPCCOptions = {Includes} {Sym•PPC} # -i "{RINCLUDES}" (if needed to access SIOW.h)
-
- Objects•68K = ∂
- "{ObjDir•68K}Count.c.o"
-
- Objects•PPC = ∂
- "{ObjDir•PPC}Count.c.x"
-
- ###############################################################################
-
- Count ƒ Count.68k Count.ppc
- Duplicate -y Count.68k {Targ}
- MergeFragment Count.ppc {Targ}
- Rez -a "{RIncludes}"SIOW.r -d DEFAULT_SAVE_PREF=1 -o {Targ}
-
- ###############################################################################
-
- Count.68k ƒ {•MondoBuild•} {Objects•68K}
- Link ∂
- -o {Targ} -d {Sym•68K} ∂
- {Objects•68K} ∂
- -t 'APPL' ∂
- -c 'siow' ∂
- -mf ∂
- -model far ∂
- "{CLibraries}StdCLib.o" ∂
- "{Libraries}SIOW.far.o" ∂
- "{Libraries}MacRuntime.o" ∂
- "{Libraries}IntEnv.o" ∂
- "{Libraries}Interface.o"
-
- ###############################################################################
-
- Count.ppc ƒ {Objects•PPC}
- PPCLink ∂
- -o {Targ} {Sym•PPC} ∂
- {Objects•PPC} ∂
- -t 'APPL' ∂
- -c 'siow' ∂
- -mf ∂
- "{PPCLibraries}PPCSIOW.o" ∂
- "{PPCLibraries}MrCPlusLib.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}MathLib" ∂
- "{PPCLibraries}PPCCRuntime.o"
-
- # "{PPCLibraries}StdCRuntime.o" not needed.
-
- ###############################################################################
-
- "{ObjDir•PPC}Count.c.x" ƒ {•MondoBuild•} Count.c
- {PPCC} Count.c -o {Targ} {PPCCOptions}
-
- "{ObjDir•68K}Count.c.o" ƒ {•MondoBuild•} Count.c
- {C} Count.c -o {Targ} {COptions}
-
-